.spectrum-ColorArea-slider {
  opacity: 0.0001;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  margin: 0;
  pointer-events: none;
}

.spectrum-ColorArea.is-focused .spectrum-ColorArea-handle {
  width: calc(var(--spectrum-colorhandle-size, var(--spectrum-global-dimension-size-200)) * 2);
  height: calc(var(--spectrum-colorhandle-size, var(--spectrum-global-dimension-size-200)) * 2);

  margin-left: calc(-1 * var(--spectrum-colorhandle-size, var(--spectrum-global-dimension-size-200)));
  margin-top: calc(-1 * var(--spectrum-colorhandle-size, var(--spectrum-global-dimension-size-200)));
}

.spectrum-ColorArea {
  position: relative;
  display: inline-block;
  width: var(--spectrum-colorarea-default-width, var(--spectrum-global-dimension-size-2400));
  height: var(--spectrum-colorarea-default-height, var(--spectrum-global-dimension-size-2400));

  border-radius: var(--spectrum-colorarea-border-radius, var(--spectrum-alias-border-radius-regular));

  cursor: default;

  -webkit-user-select: none;

     -moz-user-select: none;

      -ms-user-select: none;

          user-select: none;
}

.spectrum-ColorArea.is-focused {
    z-index: 2;
  }

.spectrum-ColorArea.is-disabled {
    pointer-events: none;
  }

.spectrum-ColorArea:before {
    content: '';
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: var(--spectrum-colorarea-border-radius, var(--spectrum-alias-border-radius-regular));
  }

.spectrum-ColorArea-handle {
  left: 0;
  top: 0;
}

.spectrum-ColorArea-gradient {
  width: 100%;
  height: 100%;
  border-radius: var(--spectrum-colorarea-border-radius, var(--spectrum-alias-border-radius-regular));
}

.spectrum-ColorArea:before {
    box-shadow: inset 0 0 0 var(--spectrum-colorarea-border-size, var(--spectrum-alias-border-size-thin)) var(--spectrum-colorarea-border-color);
  }

.spectrum-ColorArea.is-disabled {
    background: var(--spectrum-colorarea-fill-color-disabled, var(--spectrum-global-color-gray-300));
  }

.spectrum-ColorArea.is-disabled:before {
      box-shadow: inset 0 0 0 var(--spectrum-colorarea-border-size, var(--spectrum-alias-border-size-thin)) var(--spectrum-colorarea-border-color-disabled, var(--spectrum-global-color-gray-300));
    }

.spectrum-ColorArea.is-disabled .spectrum-ColorArea-gradient {
      display: none;
    }
